import Http from '@/utils/http'

/**
 * 获取 banner( 轮播图 ) 数据
 * @param {*} type 0: pc 1: android 2: iphone 3: ipad
 */
export function banner(type = 0) {
  return Http.get('banner', {
    params: {
      type
    }
  })
}